import Vue from 'vue'
import Vuex from 'vuex'

//自定义的Vuex的module
import common from './modules/common'
import home from './modules/home'

import usercenter from './modules/UserCenter'


import develop from './modules/develop'
import demonstrate from './modules/demonstrate'
import theme from './modules/theme'
import lesson from './modules/lesson'



Vue.use(Vuex)


export default new Vuex.Store({
  modules: {
    common,
    home,
    usercenter,
    develop,
    demonstrate,
    theme,
    lesson
  }
})
